package org.xlp.db.xml;

import org.xlp.db.xml.ele.ComEle;
import org.xlp.db.xml.ele.SQLEle;

import java.util.List;

/**
 * xml中sqls元素信息
 */
public class SQLsElementInfo {
    /**
     * id
     */
    private String id;
    /**
     * mark
     */
    private String mark;
    /**
     * ComEle对象集合
     */
    private List<ComEle> comEles;
    /**
     * SQLEle对象集合
     */
    private List<SQLEle> sqlEles;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public List<ComEle> getComEles() {
        return comEles;
    }

    public void setComEles(List<ComEle> comEles) {
        this.comEles = comEles;
    }

    public List<SQLEle> getSqlEles() {
        return sqlEles;
    }

    public void setSqlEles(List<SQLEle> sqlEles) {
        this.sqlEles = sqlEles;
    }

    @Override
    public String toString() {
        return "SQLsElementInfo{" +
                "id='" + id + '\'' +
                ", mark='" + mark + '\'' +
                ", comEles=" + comEles +
                ", sqlEles=" + sqlEles +
                '}';
    }
}
